package com.bandit.controller.back;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/back")
public class IndexBackController {

    private final static String prefix = "back";

    //去后台管理
    @RequiresPermissions({"back:*:list","back:*:add"})
    @GetMapping("/toManger")
    public String toManger(){
        return prefix + "/index";
    }


}
